<section class="manageDiv" [ngStyle]="tagData.cssStyle | styleFilter">
  <ng-container *ngIf="tagData.data.data && tagData.data.data.length > 0">
    <div class="managePeople" *ngFor="let item of tagData.data.data ; let i = index" appDebounceClick (debounceClick)="goPage(item.link,i)">
      <div class="top">
        <div class="left-top">
          <span class="title">{{item.title}}</span>
          <span class="phone">{{item.phone}}</span>
        </div>
        <span class="stateText" [ngStyle]="item.state.cssStyle|styleFilter">{{item.state.text}}</span>
      </div>
      <div class="bottom">
        <div class="left-top">
          <ng-container *ngFor="let subitem of item.tags">
            <span [ngStyle]="subitem.cssStyle|styleFilter">{{subitem.label}}</span>
          </ng-container>
        </div>
        <span class="dateTime">{{item.dateTime}}</span>
      </div>
      <hr class="admin-line">
    </div>
  </ng-container>
  <p class="noData" *ngIf="!tagData.data.data || tagData.data.data.length === 0">
    暂无数据
  </p>
  
  
  <ion-infinite-scroll *ngIf="tagData.data.submit" threshold="5%" (ionInfinite)="loadMoreData($event)">
    <ion-infinite-scroll-content loadingSpinner="crescent" loadingText="正在加载更多数据...">
    </ion-infinite-scroll-content>
  </ion-infinite-scroll>
</section>